package com.infinit.selfhelp.common.ext

fun String?.rexInt(): Int? {
    return this?.toIntOrNull()
}

fun Int.formatWithLeadingZeros(): String {
    return String.format("%04d", this)
}